package com.yssoft.entity.core;

import com.yssoft.entity.CommonEntity;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 部门表实体类
 * t_department
 * @author 
 */
@Table(name="t_department")
public class TDepartment extends CommonEntity {
    /**
     * 主键
     */
    @Id
    private Integer id;

    /**
     * 所属企业
     */
    private Integer tEId;

    /**
     * 上级部门
     */
    private Integer tDId;

    /**
     * 名称
     */
    private String name;

    /**
     * 编号
     */
    private String code;

    /**
     * 描述
     */
    private String described;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    
    public Integer gettEId() {
        return tEId;
    }
    
    public void settEId(Integer tEId) {
        this.tEId = tEId;
    }
    
    public Integer gettDId() {
        return tDId;
    }
    
    public void settDId(Integer tDId) {
        this.tDId = tDId;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescribed() {
        return described;
    }

    public void setDescribed(String described) {
        this.described = described;
    }

}